@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>用户管理管理</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="name" name="昵称" />
                            </div>
                            <div class="col-sm-2">
                                <#TimeCon id="createTimeL" name="创建时间起始点" isTime="true" pattern="YYYY-MM-DD" />
                            </div>
                            <div class="col-sm-2">
                                <#TimeCon id="createTimeR" name="创建时间结束点" isTime="true" pattern="YYYY-MM-DD" />
                            </div>
                            <div class="col-sm-2">
                                <#TimeCon id="updateTimeL" name="更新时间起始点" isTime="true" pattern="YYYY-MM-DD" />
                            </div>
                            <div class="col-sm-2">
                                <#TimeCon id="updateTimeR" name="更新时间结束点" isTime="true" pattern="YYYY-MM-DD" />
                            </div>
                            <div class="col-sm-2">
                                <#button name="搜索" icon="fa-search" clickFun="BUser.search()"/>
                            </div>
                        </div>

                        <div class="row">
                            <div class="col-sm-2">
                                <#SelectCon id="schoolId" name="学校" >
                                    <option value="">全部</option>
                                    @for(school in schools){
                                    <option value="${school.id}">${school.name}</option>
                                    @}
                                </#SelectCon>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="powerStatus" name="安全状态" >
                                    <option value="">全部</option>
                                    <option value="0">冻结</option>
                                    <option value="1">正常</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="sex" name="性别" >
                                    <option value="">全部</option>
                                    <option value="0">男</option>
                                    <option value="1">女</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="mobile" name="电话" />
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="dorm" name="宿舍" />
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-2">
                                <#NameCon id="studentNo" name="学号" />
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="studentAuth" name="学生认证" >
                                    <option value="">全部</option>
                                    <option value="0">否</option>
                                    <option value="1">是</option>
                                </#SelectCon>
                            </div>
                            <div class="col-sm-2">
                                <#NameCon id="id" name="id" />
                            </div>
                        </div>
                        <div class="hidden-xs" id="BUserTableToolbar" role="group">
                            @if(shiro.hasPermission("/bUser/add")){
                            <#button name="添加" icon="fa-plus" clickFun="BUser.openAddBUser()"/>
                            @}
                            @if(shiro.hasPermission("/bUser/update")){
                            <#button name="修改" icon="fa-edit" clickFun="BUser.openBUserDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/bUser/delete")){
                            <#button name="删除" icon="fa-remove" clickFun="BUser.delete()" space="true"/>
                            @}
                        </div>
                        <#table id="BUserTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/system/bUser/bUser.js"></script>
@}
